package com.abc.simplefactory;

public class AppDemo {
	public static void main(String[] args) {
		CarFactory carFactory = new CarFactory();
		ICarAble bmw = carFactory.create("bmw");
		bmw.brand();
		bmw.carType();
		ICarAble jeep = carFactory.create("jeep");
		jeep.brand();
		jeep.carType();
	}
}
